package org.lejos.example;

import lejos.nxt.*;
import lejos.robotics.*;
import lejos.robotics.navigation.*;

/**
 * Example leJOS Project with an ant build file
 *
 */
public class Circle {

	public static void main(String[] args) {
            final float         wheelDiameter;
            final float         trackWidth;
            final TachoMotor    leftMotor;
            final TachoMotor    rightMotor;
            final TachoPilot    pilot;
            final SimpleNavigator navigator;

            wheelDiameter = 56.0f;

            trackWidth  = 114.0f;
            leftMotor   = Motor.B;
            rightMotor  = Motor.C;
            pilot       = new TachoPilot(wheelDiameter, trackWidth, leftMotor, rightMotor);
            navigator   = new SimpleNavigator(pilot);
            navigator.setPosition(0,0,0);
            navigator.steer(45, 360);

	}
}
